package com.orange.cetback.pojo.dto;

import com.orange.cetback.pojo.entity.UserWordReview;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class StudyWordDTO {
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 单词ID
     */
    private Integer wordId;

    /**
     * 间隔阶段(0=新词 1=1天 2=7天...)
     */
    private Integer intervalStage;

    /**
     * 下次复习日期
     */
    private LocalDate nextReviewDate;

    /**
     * 记忆难度系数
     */
    private BigDecimal easeFactor;

    /**
     * 连续正确次数
     */
    private Integer consecutiveCorrect;

    /**
     * 总复习次数
     */
    private Integer totalReviews;

    /**
     * 最后复习时间
     */
    private LocalDateTime lastReviewTime;

    /**
     * 最后复习结果(0=错误 1=正确)
     */
    private Byte lastReviewResult;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    private String word;
    private Boolean isCorrect;
}
